package ZUOYE;
//继承
public class TVs extends Goods {
    public void print(Goods goods){
        setName("康佳电视");
        setType("电视");
        setPlace("广州");
        setPrice(1500);
        System.out.println(getType()+"类"+"\t商品名:"+getName()+"\t产地:"+getPlace()+"\t\t价格:"+getPrice()+"元");
    }
}
